ComponentOne MultiSelect for WinForms
C1.Framework.Drawing.Gdi Namespace / TriangleBoxGradientBrush Class / TriangleBoxGradientBrush Constructor / TriangleBoxGradientBrush Constructor(Color[],PointF)
An array of System.Drawing.Color that indicates the linear gradient colors.
A System.Drawing.PointF that indicates the gradient centre point.

In This Topic
    TriangleBoxGradientBrush Constructor(Color[],PointF)
    In This Topic
    Initializes a new instance of the TriangleBoxGradientBrush class.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal colors() As Color, _
       ByVal centrePoint As PointF _
    )
    public TriangleBoxGradientBrush( 
       Color[] colors,
       PointF centrePoint
    )

    Parameters

    colors
    An array of System.Drawing.Color that indicates the linear gradient colors.
    centrePoint
    A System.Drawing.PointF that indicates the gradient centre point.
    See Also